package com.yld.oa.department.entity;

import java.util.ArrayList;
import java.util.List;

import com.yld.oa.employee.entity.EmployeeEntity;

public class DepartmentEntity {
	
	
	
	/**
	 * employees 该部门下面的员工s 理论上的标准 hibernate和mybatis都支持 推荐 
	 */
	List<EmployeeEntity>  employees=new ArrayList<EmployeeEntity>();
	
	
	//1对1的关系
	
	/*EmployeeEntity employee= new EmployeeEntity();*/
	
	
	
	
	
	private Integer id;
	
	
	/**
	 * DEPARTMENT_NAME
	 */
	private String departmentName;
	
	
	
	

	public Integer getId() {
		return id;
	}




	public void setId(Integer id) {
		this.id = id;
	}


	public String getDepartmentName() {
		return departmentName;
	}


	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}


	public List<EmployeeEntity> getEmployees() {
		return employees;
	}


	public void setEmployees(List<EmployeeEntity> employees) {
		this.employees = employees;
	}
	
	
	
	

}
